<div class="panel panel-default">
    <div class="panel-heading">搜索广告规则</div>
    <div class="panel-body">
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="">
            </div>
        </div>
        <div class="form-group">
            <label for="c-src" class="control-label col-xs-12 col-sm-2">{:__('Src')}:</label>
            <div class="col-xs-12 col-sm-8">
                <div class="input-group">
                    <input id="c-src" class="form-control" size="35" name="row[src]" type="text" value="">
                    <div class="input-group-addon no-border no-padding">
                        <span><button type="button" id="plupload-image" class="btn btn-danger plupload" data-input-id="c-src" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-src"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                        <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-src" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                    </div>
                    <span class="msg-box n-right"></span>
                </div>
                <ul class="row list-inline plupload-preview" id="p-src"></ul>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Linkurl')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-linkurl" data-rule="required" class="form-control" name="row[linkurl]" type="text" value="">
            </div>
        </div>
    </div>
</div>

